package com.zy.garbage.service;

import com.zy.garbage.enums.SessionEnum;
import com.zy.garbage.form.AccountCheckForm;
import com.zy.garbage.form.AccountForm;
import com.zy.garbage.form.UpdateAccountForm;
import com.zy.garbage.vo.AccountVO;
import com.zy.garbage.form.CreateAccountForm;
import com.zy.garbage.vo.UserInfoVO;

import java.util.List;

public interface AccountService {
    List<UserInfoVO> findAll();
    void updatePwd(AccountForm accountForm);
    AccountVO login(AccountForm accountForm, SessionEnum session);
    UserInfoVO findByUserPhone(String userPhone);
    void save(CreateAccountForm createAccountForm);
    void update(UpdateAccountForm updateAccountForm);
    void setPwd(AccountForm accountForm);
    void check(AccountCheckForm accountCheckForm);
}
